home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr12 / qemm70tn.zip / MAXWINDO.TEC < prev    next >
Text File  |  1993-06-08  |  14KB  |  301 lines

  1.  
  2.                   DESQview/X: MAXIMIZING WINDOW SIZE
  3.  
  4.   This QEMM 7 technote is an abridged version of a technical
  5.   bulletin that is available through our standard support channels.
  6.   The information contained in this version pertains ONLY to QEMM
  7.   version 7.0.  If you need information relating to earlier versions
  8.   of QEMM you can obtain the unabridged version from the following
  9.   sources:
  10.  
  11.   Quarterdeck Technical Support BBS:  MAXWINDO.TEC
  12.                          CompuServe:  MAXWIN.TEC
  13.                               Q/FAX:  #252
  14.  
  15.  
  16.   Subject: How to get more conventional memory for each DV/X window.
  17.  
  18.  
  19.   HOW CAN I DETERMINE HOW MUCH MEMORY IS AVAILABLE TO EACH OF MY
  20.   DV/X WINDOWS?
  21.  
  22.   Run the Memory Status program in DESQview/X.  If you have not
  23.   customized your menus extensively, you should find Memory Status
  24.   on your Open Window menu under Toolbox.  "Largest Available
  25.   Expanded Memory" will tell you the largest window you can open in
  26.   DESQview/X.
  27.                            Total       Total      Largest
  28.                            Memory    Available   Available
  29.  
  30.   Common Memory            30720      17836       17768
  31.   Conventional Memory       594K        91K         88K
  32.   Expanded Memory          2704K      2464K    --> 528K <--
  33.  
  34.   The biggest window size for the above example is 528K.  This
  35.   technote will point out ways in which you can increase the size
  36.   of your DV/X windows.  After trying each suggestion, open the
  37.   Memory Status program and see if this figure has changed.
  38.  
  39.   HOW CAN I GET BIGGER WINDOW SIZES IN DESQVIEW/X?
  40.  
  41.   DESQview/X uses 160K to 300K of the first megabyte of memory when
  42.   it loads, depending on your specific configuration.   DESQview/X
  43.   can load over 63K of its code into the HMA (High Memory Area, the
  44.   first 64K of extended memory) if this area is available.  It can
  45.   also load its data into unused areas of High RAM between 640K and
  46.   1024K.  The remaining portion of DESQview/X's code will load into
  47.   conventional memory. Regardless of the amount of RAM on your
  48.   system, DESQview/X can ONLY load into these three areas.  It is
  49.   important that you find the best ways of utilizing the HMA and
  50.   areas of High RAM if you are to maximize your DV/X windows.
  51.  
  52.   It should be mentioned that some systems contain hardware devices
  53.   which use upper memory addresses, reducing the amount of High RAM
  54.   available on those machines.  Also, PS/2's have 128K of System
  55.   ROM instead of the more typical 64K, limiting the amount of High
  56.   RAM that can be created on these machines.
  57.  
  58.   1. USING STEALTH ROM TO FREE CONVENTIONAL MEMORY.
  59.  
  60.   By using QEMM's Stealth ROM technology, you can reclaim some of
  61.   the upper memory addresses used by ROMs.  This can result in
  62.   nearly 100K of additional High RAM.  If you are using Stealth
  63.   ROM, the QEMM device line in your CONFIG.SYS file will contain
  64.   either the ST:M or ST:F parameter.  If you do not have one of
  65.   these parameters on the QEMM line, you can enable Stealth ROM by
  66.   typing the following command at the DOS prompt:
  67.  
  68.       OPTIMIZE /ST
  69.  
  70.   This command runs QEMM's Optimize program and instructs it to
  71.   test your system for Stealth ROM compatibility.  Stealth ROM can
  72.   do more to increase the size of your DESQview/X windows than any
  73.   other suggestion in this technote.
  74.  
  75.   If you notice anything unusual about the way your system
  76.   functions after enabling Stealth ROM, refer to our technical
  77.   bulletin STEALTH.TEC for troubleshooting suggestions.  If you
  78.   have DESQview/X 1.1, you can find a copy of STEALTH.TEC in your
  79.   \DVX directory.  A copy was also installed in your QEMM\TECHNOTE
  80.   directory when you installed QEMM 7.
  81.  
  82.   2. USING QEMM's ANALYSIS PROGRAM TO INCREASE AREAS OF HIGH RAM.
  83.  
  84.   Before loading into conventional memory DESQview/X will fill up
  85.   all available areas of High RAM.  It is to your advantage,
  86.   therefore, to configure QEMM to give you the most High RAM
  87.   possible.  One way to gain additional High RAM is by performing
  88.   an ANALYSIS.  With this procedure QEMM determines what areas of
  89.   upper memory are not currently being accessed by your hardware
  90.   and software and suggests ranges of address space you can try
  91.   "INCLUDING" for QEMM's use. In order for the results of ANALYSIS
  92.   to be accurate, you must follow the instructions precisely.  For
  93.   complete details, refer to your QEMM or Manifest manual or read
  94.   our technical bulletin EXCLUDE.TEC.  This technote was installed
  95.   in your \QEMM\TECHNOTE directory along with QEMM 7.
  96.  
  97.   3. USING ST-DBL TO STEALTH DOUBLESPACE.
  98.  
  99.   If you are using DoubleSpace (the disk compression program
  100.   included with MS-DOS 6.0), you can use ST-DBL.SYS to free even
  101.   more conventional memory in DESQview/X.  Normally, DoubleSpace
  102.   uses 43K of your first megabyte of memory. This can heavily tax
  103.   your window sizes in DESQview/X.  The new ST-DBL technology will
  104.   "stealth" (move) the DoubleSpace driver into expanded memory
  105.   (outside your first megabyte of address space.) ST-DBL uses 2K of
  106.   memory for itself and can be loaded high for a net savings of
  107.   41K.
  108.  
  109.   In order to use "ST-DBL" you must have QEMM configured to use
  110.   expanded memory through the use of a 64K EMS page frame.
  111.  
  112.   If you are using DoubleSpace at the time you install QEMM, ST-
  113.   DBL.SYS will be installed automatically.  If you add DoubleSpace
  114.   after installing QEMM and wish to load ST-DBL, run QEMM's QSETUP
  115.   (by typing QSETUP from the DOS prompt.) QSETUP with replace
  116.   DBLSPACE.SYS in your CONFIG.SYS with the following line:
  117.  
  118.       DEVICE=C:\QEMM\ST-DBL.SYS
  119.  
  120.   4.  GETTING DESQVIEW/X TO USE THE HMA.
  121.  
  122.   DESQview/X is able to load 63K of its data into the HMA (High
  123.   Memory Area, the first 64K of your extended memory.)  Only one
  124.   program can use the HMA, however, so DESQview/X cannot use it if
  125.   another program is already using it. If you have DOS 5 or 6, you
  126.   might have a line in your config.sys file that says "DOS=HIGH."
  127.   This line instructs DOS to load part of itself into the HMA. DOS
  128.   normally uses only 35K to 45K of the HMA, so most DESQview/X
  129.   users find they can obtain larger windows if they remove the
  130.   DOS=HIGH line and allow DV/X to load into this area.
  131.  
  132.   In some cases it may be to your advantage to use the DOS=HIGH
  133.   line in your CONFIG.SYS file rather than letting DESQview/X load
  134.   into the HMA.  Try it both ways and then determine which gives
  135.   you more memory by running Optimize, then checking "Largest
  136.   Available Expanded Memory" in Memory Status from within
  137.   DESQview/X.  Use the configuration that gives you the best
  138.   results.
  139.  
  140.   If you are using DR-DOS 6, you may get bigger window sizes in
  141.   DESQview/X by loading the DOS kernel into High RAM.  This can be
  142.   done by loading "HIDOS=ON", "HIDOS.SYS /BDOS=AUTO " and
  143.   "SHELL=C:\COMMAND.COM C:\ /P /MU" in the CONFIG.SYS file.
  144.  
  145.       Example:
  146.       SHELL=C:\COMMAND.COM C:\ /P /MU
  147.       HIDOS=ON
  148.       DEVICE=C:\DRDOS\HIDOS.SYS /BDOS=AUTO
  149.  
  150.   Another thing you can try if you have DR-DOS 6 is loading the DOS
  151.   kernel into the HMA.  This can be done by loading "HIDOS=ON",
  152.   "HIDOS.SYS /BDOS=FFFF" and "SHELL=C:\COMMAND.COM C:\ /P /MH".
  153.  
  154.       Example:
  155.       SHELL=C:\COMMAND.COM C:\ /P /MH
  156.       HIDOS=ON
  157.       DEVICE=C:\DRDOS\HIDOS.SYS /BDOS=FFFF
  158.  
  159.   5. REMOVING UNNECESSARY DEVICE DRIVERS AND TSRs.
  160.  
  161.   The number of device drivers and TSRs you load during bootup
  162.   directly impacts your maximum window size.  Many TSRs (like
  163.   DOSKEY or Sidekick) can be removed from your AUTOEXEC.BAT and
  164.   loaded in a DESQview/X window as needed.  Programs and drivers
  165.   loaded in this manner do not detract from the size of EACH window
  166.   but, rather, affect ONLY the size of the window in which they are
  167.   run.
  168.  
  169.   Device drivers such as disk caches or ramdrives also use memory
  170.   in the first megabyte.  Try removing such drivers one at a time
  171.   in order to judge any performance gain resulting from their use.
  172.   You may decide the performance gain is not worth the memory it
  173.   costs you.  Because memory is a finite resource, you must make
  174.   decisions as to how you use it.
  175.  
  176.   Certain network drivers have replacements that can save memory.
  177.   As an example, Novell's NETX.COM can be replaced with EMSNETX.COM
  178.   which uses expanded memory and, as a result, uses much less
  179.   conventional memory or High RAM.  Contact your network
  180.   administrator for more information on alternative network
  181.   drivers.
  182.  
  183.   6. 8514 VIDEO CARDS
  184.  
  185.   If you have an 8514 video card you can use VIDRAM and gain an
  186.   additional 64K-96K of conventional memory.  If your 8514 card
  187.   requires a driver, then it is not hardware compatible and this
  188.   process may not work.
  189.  
  190.   First, add the VREMS to the QEMM386.SYS line in the CONFIG.SYS
  191.   file.
  192.  
  193.   DEVICE=C:\QEMM\QEMM386.SYS RAM VREMS
  194.  
  195.   Next, add the following line to the AUTOEXEC.BAT file to activate
  196.   VIDRAM:
  197.  
  198.   C:\QEMM\VIDRAM ON
  199.  
  200.   This line will activate VIDRAM and extend conventional memory.
  201.   When you start DESQview/X, it will report "GRFVGA.DVR does not
  202.   find the correct video adapter".  You can safely ignore this
  203.   message; DESQview/X should function properly.
  204.  
  205.   7. CONFIGURING DESQVIEW/X TO USE LESS MEMORY IN THE FIRST
  206.      MEGABYTE.
  207.  
  208.   The DESQview/X Setup program includes a number of options which
  209.   can be adjusted to save memory.  To alter these settings, type
  210.   SETUP from the DVX directory, select "Advanced Options", then
  211.   select "Tune Performance".
  212.  
  213.         Common Memory          30K
  214.         DOS I/O Buffer          8K
  215.         Network Buffer         20K (Only if using Network Support)
  216.  
  217.   Changing these settings may not have any immediate effect because
  218.   expanded memory is mapped in 16K increments.  Decreasing the
  219.   Common Memory by 1K, for instance, will not make any difference
  220.   unless your memory usage is on the 16K threshold. These numbers
  221.   can be decreased until the amount saved goes up 16K.
  222.  
  223.   Common Memory:
  224.  
  225.   COMMON MEMORY is used by DESQview/X to manage its windows, and
  226.   the amount you need is dependent upon the number of windows you
  227.   open.  The default value is 30K; users who open only a few
  228.   windows at a time may be able to lower this figure to 25K.
  229.  
  230.   DOS I/O Buffer:
  231.  
  232.   DOS I/O BUFFER refers to memory used by DESQview/X to manage file
  233.   operations into expanded memory.  The value of this field can
  234.   affect the speed of disk access, but rarely will a value higher
  235.   than 10K or 15K prove worthwhile.  Any user who can set this to
  236.   "0" and obtain satisfactory results should do so.
  237.  
  238.   Network Buffer:
  239.  
  240.   On the NETWORK option you may disable the network support.
  241.   Network support is ONLY needed for certain network-specific
  242.   programs.  It is NOT required for most normal DOS applications
  243.   that are merely being run from a network hard drive.  The amount
  244.   of memory you save by disabling network support is about 5K plus
  245.   the size of the buffer.  Unless you are certain that you need
  246.   this service, try running without it.  (NOTE:  If you are running
  247.   the IPX/NetBIOS Network Manager you CANNOT disable network
  248.   virtualization.)  If you encounter a problem when network support
  249.   is disabled that you DO NOT encounter with such support, simply
  250.   run DESQview/X Setup and change the settings back as they were.
  251.  
  252.   The memory allocated to the Network Buffer does not come from
  253.   conventional memory.  Decreasing the size of the buffer would
  254.   affect the size of your expanded memory pool but not your window
  255.   size.
  256.  
  257.   Font Cache:
  258.  
  259.   The Font Cache is not taken from conventional memory and
  260.   decreasing the value will not affect the size of your DV/X
  261.   windows.
  262.  
  263.   8.  HOW DO THE CUSTOMIZE MENU SETTINGS AFFECT THE WINDOW SIZE?
  264.  
  265.   Some settings in the DESQview/X Program Information Files
  266.   (.DVP's) can affect the window size.  For the lowest memory
  267.   overhead, set "System Memory (in K)" to "0" and set "Text Pages"
  268.   to "1".
  269.  
  270.   System Memory (in K) - This field will shrink the window size in
  271.                          K by the value in this field.
  272.  
  273.   Text Pages           - Each additional Text Page will use 4K more.
  274.  
  275.   9. GETTING QEMM TO BACKFILL MORE MEMORY.
  276.  
  277.   By default QEMM backfills (maps expanded memory into) only 576k
  278.   of conventional memory on 80386 systems.  (This is NOT true of
  279.   80486 or higher processors.) The first 64K of conventional memory
  280.   is not backfilled, allowing a maximum of 576K of conventional
  281.   memory in a DESQview/X window.   You can try to reclaim some of
  282.   this memory by using I=0C00-0FFF or I=0800-0FFF on the
  283.   QEMM386.SYS line in the CONFIG.SYS.
  284.  
  285.   Including 0C00-0FFF reclaims 32K of conventional memory.  On some
  286.   systems these addresses are used for such things as I/O
  287.   addresses.  If your computer does not function normally after
  288.   adding this include statement, try reducing the range by using
  289.   the I=0800-0FFF parameter.
  290.  
  291.   One of these two include statements will work for most systems.
  292.   If you experience a problem that is not resolved by using the
  293.   second, smaller, include statement, you should remove the include
  294.   statement altogether.
  295.  
  296.   *****************************************************************
  297.             Trademarks are property of their respective owners.
  298.    This technical note may be copied and distributed freely as long
  299.   as it is distributed in its entirety and it is not distributed
  300.   for profit.  Copyright (C) 1992-3 by Quarterdeck Office Systems
  301.   ******************** E N D   O F   F I L E **********************